//
//  CategorySearchCell.m
//  TrainTree
//
//  Created by wanghui on 2017/9/20.
//  Copyright © 2017年 YouYeShu. All rights reserved.
//

#import "CategorySearchCell.h"

@implementation CategorySearchCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}
- (IBAction)universalClick:(id)sender {
    if (_delegate && [_delegate respondsToSelector:@selector(categoryBtnClick:)]) {
        [_delegate categoryBtnClick:@"通用"];
    }
}
- (IBAction)leaderClick:(id)sender {
    if (_delegate && [_delegate respondsToSelector:@selector(categoryBtnClick:)]) {
        [_delegate categoryBtnClick:@"领导力"];
    }
}
- (IBAction)operationClick:(id)sender {
    if (_delegate && [_delegate respondsToSelector:@selector(categoryBtnClick:)]) {
        [_delegate categoryBtnClick:@"运营"];
    }
}
- (IBAction)hrClick:(id)sender {
    if (_delegate && [_delegate respondsToSelector:@selector(categoryBtnClick:)]) {
        [_delegate categoryBtnClick:@"人力资源"];
    }
}
- (IBAction)financeClick:(id)sender {
    if (_delegate && [_delegate respondsToSelector:@selector(categoryBtnClick:)]) {
        [_delegate categoryBtnClick:@"财务"];
    }
}
- (IBAction)lecClick:(id)sender {
    if (_delegate && [_delegate respondsToSelector:@selector(categoryBtnClick:)]) {
        [_delegate categoryBtnClick:@"精益"];
    }
}


@end
